package com.ruoyi.depot.mapper;

import java.util.List;
import com.ruoyi.depot.domain.LocalInventoryDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 库存变动明细Mapper接口
 * 
 * @author luxiaoyu
 * @date 2024-12-20
 */
@Mapper
public interface LocalInventoryDetailsMapper 
{
    /**
     * 查询库存变动明细
     * 
     * @param inventoryDetailId 库存变动明细主键
     * @return 库存变动明细
     */
    public LocalInventoryDetails selectLocalInventoryDetailsByInventoryDetailId(Long inventoryDetailId);

    /**
     * 查询库存变动明细列表
     * 
     * @param localInventoryDetails 库存变动明细
     * @return 库存变动明细集合
     */
    public List<LocalInventoryDetails> selectLocalInventoryDetailsList(@Param("vo") LocalInventoryDetails localInventoryDetails);

    /**
     * 新增库存变动明细
     * 
     * @param localInventoryDetails 库存变动明细
     * @return 结果
     */
    public int insertLocalInventoryDetails(LocalInventoryDetails localInventoryDetails);

    /**
     * 修改库存变动明细
     * 
     * @param localInventoryDetails 库存变动明细
     * @return 结果
     */
    public int updateLocalInventoryDetails(LocalInventoryDetails localInventoryDetails);

    /**
     * 删除库存变动明细
     * 
     * @param inventoryDetailId 库存变动明细主键
     * @return 结果
     */
    public int deleteLocalInventoryDetailsByInventoryDetailId(Long inventoryDetailId);

    /**
     * 批量删除库存变动明细
     * 
     * @param inventoryDetailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLocalInventoryDetailsByInventoryDetailIds(Long[] inventoryDetailIds);
}
